orcli run

run tmp OpenRefine workspace and execute shell script(s)

Usage

Arguments
Path to one or more files or URLs. When FILE is -, read standard input.
(repeatable)
Options
maximum RAM for OpenRefine java heap space
PORT on which OpenRefine should listen
do not exit on error and keep bash shell open
suppress log output, print errors only
Parent Environment Variables
URL to OpenRefine server

Examples

orcli run --interactive
orcli run << EOF
  orcli import csv "https://git.io/fj5hF" --projectName "duplicates"
  orcli transform "duplicates" "https://git.io/fj5ju"
  orcli export tsv "duplicates"
EOF
orcli run --memory "2000M" --port "3334" << EOF
  orcli import csv "https://git.io/fj5hF" --projectName "duplicates" &
  orcli import csv "https://git.io/fj5hF" --projectName "copy" &
  wait
  echo "finished import"
  orcli export csv "duplicates" --output duplicates.csv &
  orcli export tsv "duplicates" --output duplicates.tsv &
  wait
  wc duplicates*
EOF
orcli run --interactive "file1.sh" "file2.sh" - << EOF
  echo "finished in $SECONDS seconds"
EOF